package com.sunyard.layoutit.dao;

public class DaoFactory {

	private static GeneralBytesDao generalBytesDao ;
	
	public static GeneralBytesDao getGeneralBytesDao(){
		if(null == generalBytesDao){
			generalBytesDao = new GeneralBytesDao();
		}
		return generalBytesDao ;
	}
	
	private static RepositoryBoxDao repositoryBoxDao ;
	
	public static RepositoryBoxDao getRepositoryBoxDao(){
		if(null == repositoryBoxDao){
			repositoryBoxDao = new RepositoryBoxDao() ;
		}
		return repositoryBoxDao ;
	}
	
	private static RepositoryBoxConfigDao repositoryBoxConfigDao ;
	
	public static RepositoryBoxConfigDao getRepositoryBoxConfigDao(){
		if(null == repositoryBoxConfigDao){
			repositoryBoxConfigDao = new RepositoryBoxConfigDao();
		}
		return repositoryBoxConfigDao ;
	}
}
